package com.hi.hiparty.entity;

import java.util.Date;

public class Message {
	/**
	 * 用户消息
	 */
	public final static Short TYPE_USER2USER = 0; 
	/**
	 * 系统消息
	 */
	public final static Short TYPE_SYSINFO   = 1;
	public final static Short STATUS_DEFAULT = 0;
	/**
	 * 已阅读
	 */
	public final static Short STATUS_READED  = 1;
	/**
	 * 删除
	 */
	public final static Short STATUS_DELETED = 2;
	private Integer id; //消息id，没有考虑varchar
	private String source;        //源
	private String destination;   //目的
	private Short  type;          //类别
	private Date gmtCreate;      //创建时间
	private Date gmtModified;    //修改时间
	private String title;        //标题
	private String content;      //内容
	private Short status;        //状态
	
}
